package com.example.springboot.service;

import com.example.springboot.controller.request.BaseRequest;
import com.example.springboot.controller.request.UserPageRequest;
import com.example.springboot.entity.User;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @Author:
 * @Description: TODO
 * @DateTime: 2022/11/26 17:26
 **/

public interface IUserService {

    List<User> list();

    Object page(BaseRequest baseRequest);

    void sava(User user);

    void update(User user);

    User getById(Integer id);

    void delete(Integer id);
}
